const routes = [
    {
        path: '/vacation',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/vacation/Vacation.vue'),
        meta: {
            titleCode:'',
            title: '假期配置管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/vacation/vacationAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/vacation/VacationAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加假期配置'
        }
    },
    {
        path: '/vacation/vacationEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/vacation/VacationEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改假期配置'
        }
    },
    {
        path: '/classe',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/classe/Classe.vue'),
        meta: {
            titleCode:'',
            title: '班次配置管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/classe/classeAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/classe/ClasseAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加班次配置'
        }
    },
    {
        path: '/classe/classeEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/classe/ClasseEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改班次配置'
        }
    },
    {
        path: '/clock',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/clock/Clock.vue'),
        meta: {
            titleCode:'',
            title: '打卡配置管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/clock/clockAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/clock/ClockAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加打卡配置'
        }
    },
    {
        path: '/clock/clockEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/clock/ClockEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改打卡配置'
        }
    },
    {
        path: '/overtimeLegal',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeLegal.vue'),
        meta: {
            titleCode:'',
            title: '节假日配置管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/overtimeLegal/overtimeLegalAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeLegalAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加节假日配置'
        }
    },
    {
        path: '/overtimeLegal/overtimeLegalEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeLegalEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改节假日配置'
        }
    },
    {
        path: '/overtimeWork',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeWork.vue'),
        meta: {
            titleCode:'',
            title: '工作日配置管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/overtimeWork/overtimeWorkAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeWorkAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加工作日配置'
        }
    },
    {
        path: '/overtimeWork/overtimeWorkEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeWorkEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改工作日配置'
        }
    },
    {
        path: '/overtimeRest',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeRest.vue'),
        meta: {
            titleCode:'',
            title: '休息日配置管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/overtimeRest/overtimeRestAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeRestAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加休息日配置'
        }
    },
    {
        path: '/overtimeRest/overtimeRestEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeRestEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改休息日配置'
        }
    },
    {
        path: '/overtime',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/Overtime.vue'),
        meta: {
            titleCode:'',
            title: '加班配置管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/overtime/overtimeAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加加班配置'
        }
    },
    {
        path: '/overtime/overtimeEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/overtime/OvertimeEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改加班配置'
        }
    },
    {
        path: '/group',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/group/Group.vue'),
        meta: {
            titleCode:'',
            title: '考勤组配置管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/group/groupAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/group/GroupAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加考勤组配置'
        }
    },
    {
        path: '/group/groupEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/group/GroupEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改考勤组配置'
        }
    },
    {
        path: '/group/assignUser/:groupId',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/group/GroupAssignUser.vue'),
        meta: {
            titleCode:'',
            title: '考勤组分配适用用户'
        }
    },
    {
        path: '/group/assignClasse/:groupId',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/group/GroupAssignClasse.vue'),
        meta: {
            titleCode:'',
            title: '考勤组分配班次'
        }
    },
    {
        path: '/user/clock/service',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/user/UserClockService.vue'),
        meta: {
            titleCode:'',
            title: '打卡服务',
            keepAlive: false,
            root:true
        }
    },
    {
        path: '/my/attend',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/user/MyAttend.vue'),
        meta: {
            titleCode:'',
            title: '我的考勤',
            keepAlive: false,
            root:true
        }
    },
    {
        path: '/my/vacationSum',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/user/MyVacationSum.vue'),
        meta: {
            titleCode:'',
            title: '我的假期余额',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/my/overtime',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/user/MyUserOvertime.vue'),
        meta: {
            titleCode:'',
            title: '我的加班',
            keepAlive: false,
            root:true
        }
    },
    {
        path: '/my/leaveApplication',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/user/MyLeaveApplication.vue'),
        meta: {
            titleCode:'',
            title: '我的假期申请',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/user/leaveApplicationAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/user/UserLeaveApplicationAdd.vue'),
        meta: {
            titleCode:'',
            title: '假期申请',
            keepAlive: false,
            root:true
        }
    },
    {
        path: '/user/leaveApplicationEdit/:userLeaveApplicationId',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../attend/src': '@') + '/views/user/UserLeaveApplicationEdit.vue'),
        meta: {
            titleCode:'',
            title: '假期申请编辑',
            keepAlive: false
        }
    },
]
export default routes